package com.wu.crud.controller;

import com.wu.crud.service.AdminService;
import com.wu.crud.service.StudentService;
import com.wu.crud.service.SuperAdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class LoginController {

    @Autowired
    AdminService adminService;

    @Autowired
    StudentService studentService;

    @Autowired
    SuperAdminService superAdminService;

    /**
     * 跳转到管理员登录界面
     * @return
     */
    @RequestMapping("/admin_login_index")
    public String toAdminLogin(){
        return "admin_login";
    }

    /**
     * 跳转到辅导员登录界面
     * @return
     */
    @RequestMapping("/teacher_login_index")
    public String toTeacherLogin(){
        return "teacher_login";
    }

    /**
     * 跳转到学生登录界面
     * @return
     */
    @RequestMapping("/student_login_index")
    public String toStudentLogin(){
        return "student_login";
    }
}
